package io.lkt.modules.sys.dao;

import io.lkt.modules.sys.entity.KeywordInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lkt.modules.sys.entity.PushHeadLogEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 关键字表
 * 
 * @author xss
 * @email dustwas@163.com
 * @date 2019-03-27 11:50:23
 */
@Mapper
public interface KeywordInfoDao extends BaseMapper<KeywordInfoEntity> {
    Integer totalByContent(KeywordInfoEntity keywordContent);

    PushHeadLogEntity getUserCount(@Param("gzhCode") String gzhCode,
                                   @Param("beginDate") String beginDate,
                                   @Param("endDate") String endDate,
                                   @Param("headId") Integer headId);

}
